package com.example.teesystem.service;

import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.IssueRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.entity.vo.IssueRecord.IssueRecordInsertVo;

import java.util.Map;

/**
* @author 12510
* @description 针对表【t_issue_record】的数据库操作Service
* @createDate 2022-04-14 19:38:55
*/
public interface IssueRecordService extends IService<IssueRecord> {
    Response addIssueRecordService(IssueRecordInsertVo issueRecordInsertVo);
    Boolean checkAnswer(int issueId,String answer);
    void addIssueRecord(int issueId,String answer,boolean isRight);
    Response studentRadar(int courseId);
    Map<String,Double> getStudentRadar(int courseId);
    Map<String,Double> getStudentRadar(int courseId,int studentId);
}
